Automatic gain control methods and apparatus suitable for use in OFDM receivers

ABSTRACT

Automatic gain control (AGC) methods and apparatus suitable for use in orthogonal frequency division multiplexing (OFDM) receivers are described. One AGC method includes the steps of repeatedly performing a first AGC process which adjusts amplifier gain based on determining that a signal level of multiple time sample values is outside a limit set by a first predefined threshold; and repeatedly performing a second AGC process which adjusts the amplifier gain based on determining that a signal level of multiple frequency sample values associated with a plurality of pilot tones is outside a limit set by a second predefined threshold. Preferably, the first AGC process is performed repeatedly at a first rate and the second AGC process is performed repeatedly at a second rate that is less than the first rate.

RELATED APPLICATION

This Application is a continuation of U.S. patent application Ser. No. 09/591,043, filed Jun. 9, 2000 now U.S. Pat. No. 6,363,127, which claims the benefit of U.S. Provisional Application No. 60/140,622, filed Jun. 23, 1999 and entitled “Method for Automatic Gain Control in a Personal Wireless Access Network,” which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to the fields of automatic gain control (AGC) in orthogonal frequency division multiplexing (OFDM) communication receivers.

2. Description of the Related Art

Orthogonal frequency division multiplexing (OFDM) is a robust technique for efficiently transmitting data over a channel. This technique uses a plurality of sub-carrier frequencies (sub-carriers) within a channel bandwidth to transmit the data. These sub-carriers are arranged for optimal bandwidth efficiency compared to more conventional transmission approaches, such as frequency division multiplexing (FDM), which waste large portions of the channel bandwidth in order to separate and isolate the sub-carrier frequency spectra and thereby avoid inter-carrier interference (ICI). By contrast, although the frequency spectra of OFDM sub-carriers overlap significantly within the OFDM channel bandwidth, OFDM nonetheless allows resolution and recovery of the information that has been modulated onto each sub-carrier. Additionally, OFDM is much less susceptible to data loss due to multipath fading than other conventional approaches for data transmission because inter-symbol interference is prevented through the use of OFDM symbols that are long in comparison to the length of the channel impulse response. Also, the coding of data onto the OFDM sub-carriers can take advantage of frequency diversity to mitigate loss due to frequency-selective fading.

A digital receiver, such as an OFDM communication receiver, will generally include a variable gain amplifier where a gain of the amplifier is adjusted by a control signal. The process of adjusting the gain of a received signal using a control signal is called automatic gain control (AGC). Typically, an AGC process in a digital receiver involves measurement of an output signal power of the variable gain amplifier. The measured value is compared with a value representing the desired signal power and an error value for the variable gain amplifier is generated. The error value is then used to control amplifier gain so as to adjust the signal strength to coincide with the desired signal power. To affect digital demodulation with an optimal signal-to-noise ratio (SNR), AGC is used to hold the magnitude of the waveforms close to the full dynamic range of the analog-to-digital converters. This generally requires, however, that AGC be provided over the full dynamic range of the received signal power. Unfortunately, in wireless environments, a digital receiver may receive a signal which experiences rapid and wide variations in signal power due to, e.g., channel fading and other causes.

Accordingly, there is an existing need to provide an automatic gain control in an OFDM receiver that can sufficiently and rapidly handle wide fluctuations in signal power due to channel fading and other causes.

SUMMARY OF THE INVENTION

Automatic gain control (AGC) methods and apparatus suitable for use in orthogonal frequency division multiplexing (OFDM) receivers are described. One AGC method includes the steps of repeatedly performing a first AGC process which adjusts amplifier gain based on determining that a signal level of multiple time sample values is outside a limit set by a first predefined threshold; and repeatedly performing a second AGC process which adjusts the amplifier gain based on determining that a signal level of multiple frequency sample values associated with a plurality of pilot tones is outside a limit set by a second predefined threshold. Preferably, the first AGC process is performed repeatedly at a first rate and the second AGC process is performed repeatedly at a second rate that is less than the first rate.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of a wireless communication system, such as a fixed wireless system utilizing orthogonal frequency division multiplexing (OFDM) communication techniques, which includes one or more base units and one or more receiver units;

FIG. 2 is a block diagram of electronic components of a receiver unit in the wireless communication system of FIG. 1;

FIG. 3 is a block diagram of more specific electronic components of the receiver unit of FIGS. 1 and 2, which is more closely related to the automatic gain control (AGC) of the present invention;

FIG. 4 is a graph which represents a response of an analog-to-digital (A/D) converter in the electronic components of FIG. 3;

FIG. 5 is a schematic diagram of more detailed amplifier circuitry which may be utilized in the electronic components of FIG. 3;

FIG. 6 is a flowchart of a first method for use in providing automatic gain control in the receiver unit;

FIG. 7 is a flowchart of a second method for use in providing automatic gain control in the receiver unit;

FIG. 8 is a timing diagram showing radio frequency (RF) OFDM signals and OFDM packets in the wireless communication system;

FIG. 9 is an illustrative representation of the relationship between time slots and time frames utilized in the wireless communication system;

FIG. 10 is an illustrative representation of the timing and frequency relationships of pilot tones in the wireless communication system;

FIG. 11 is an illustrative representation of the frequency layout of pilot tones and traffic tones in the wireless communication system; and

FIG. 12 is an illustrative representation of the timing relationships with respect to the first AGC method and the second AGC method.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Automatic gain control (AGC) methods and apparatus suitable for use in orthogonal frequency division multiplexing (OFDM) receivers are described. One AGC method includes the steps of repeatedly performing a first AGC process which adjusts amplifier gain based on determining that a signal level of multiple time sample values is outside a limit set by a first predefined threshold; and repeatedly performing a second AGC process which adjusts the amplifier gain based on determining that a signal level of multiple frequency sample values associated with a plurality of pilot tones is outside a limit set by a second predefined threshold. Preferably, the first AGC process is performed repeatedly at a first rate and the second AGC process is performed repeatedly at a second rate that is less than the first rate.

FIG. 1 is an illustrative representation of a wireless communication system 100 which utilizes orthogonal frequency division multiplexing (OFDM) or OFDM-like communication methodologies. Wireless communication system 100 includes at least one base unit 106 having one or more antennas 108, and a plurality of remote units 102 (“RUs” or “receiver units”), such as remote unit 104. Base unit 106 and remote units 102 communicate via radio frequency (RF) signals, such as RF signals 110 between base unit 106 and remote unit 104. Wireless communication system 100 can make use of a number of different communication techniques, such as frequency division multiple access (FDMA), time division multiple access (TDMA), or time division duplex (TDD). Preferably, wireless communication system 100 is a fixed wireless system (FWS), where base unit 106 provides telephone and high-speed data communication to each one of a number of fixed-location subscribers equipped with an RU. Also, the RF OFDM communications signals are modulated using 16 quadrature amplitude modulation (QAM), but could be modulated using quadrature phase shift keying (QPSK).

FIG. 2 is a block diagram of electronic components 200 of receiver unit 104 in wireless communication system 100 of FIG. 1. As shown, electronic components 200 include diversity antennas 204 and 206 coupled to an airlink physical interface 202, a field programmable gate array (FPGA) 208, two Fast Fourier Transform (FFT) application-specific integrated circuits (ASICs) 210, an airlink digital signal processor (DSP) 212, a time generator FPGA 214, an audio coder DSP 216, a controller 220, a telco interface 222, and power supply circuitry 224. Airlink physical interface 202 has a two-branch RF receiver with two analog-to-digital (A/D) converters, and a single branch RF transmitter with a digital-to-analog (D/A) converter. FFT ASICs 210 and FPGA 208 provide a time-frequency domain translation engine for OFDM waveforms. Airlink DSP 212 performs airlink physical layer processing and audio coder DSP 216 performs the OFDM waveform coding and decoding functions. Time generation FPGA 214 provides a serial time division multiplex (TDM) interface along with hardware support for RF control. Telco interface 222 has a subscriber link interface circuit to provide an interface to a customer's telephone wiring. Controller 220 provides control for most of these devices, and power supply circuitry 224 provides electrical power for operation of the devices. Preferably, airlink and audio coder DSPs 212 and 216 utilize DSPs provided by Texas Instruments and controller 220 utilizes an MC68360 Quad Integrated Communications Controller (QUICC) CPU provided by Motorola, Inc.

Referring ahead to FIG. 8, each base unit of the wireless communication system broadcasts a plurality of OFDM packets 802, such as an OFDM packet 804, to a corresponding receiver unit. A new OFDM packet is broadcasted once every predetermined time period. Each predetermined time period is associated with a time slot, such as a time slot 906 of FIG. 9. As indicated in FIG. 9, a plurality of consecutive time slots 904 corresponds to a time frame 902. In the preferred embodiment shown, each time slot has a duration of 375 microseconds, each OFDM packet is 320 microseconds in length, and each time frame corresponds to 8 time slots for a duration of 3 milliseconds.

In this way, each base unit transmits “traffic tones” and “pilot tones” to a corresponding remote unit. In general, traffic tones are utilized for the communication of voice and/or data, whereas pilot tones are utilized for control. The amplitude and phase of pilot tones remain relatively constant over time, while the amplitude and phase of traffic tones vary over time. To receive the traffic tones and pilot tones, each receiver unit samples and quantizes the OFDM waveform at a sampling rate to generate time domain samples and converts the time domain samples into frequency domain signals (e.g., traffic or pilot tones).

FIG. 10 is an illustrative representation of timing relationships in the broadcasting of pilot tones for each base unit of a plurality of base units 1002, such as a base unit 1004. For each time frame, such as a time frame 1006, pilot tones are generally arranged in frequency as described in relation to FIG. 11. A set of pilot tones 1100 represented in FIG. 11 includes a subset of simulcast pilot tones 1102 (each designated “SP”), and may include a subset of time-keyed pilot tones 1108 (each designated “TP”). As indicated in FIG. 11, traffic tones (designated “Tch”) are positioned in frequency in between adjacent pilot tones. Referring back to FIG. 10, each one of base units 1002 broadcasts time-keyed pilot tones only a portion of the time. More particularly, each base unit repeatedly takes a turn in broadcasting the time-keyed pilot tones in the designated frequency space. Time-keyed pilot tones are utilized for a portion of the AGC process which will be described later below.

In the preferred embodiment, and as shown in FIG. 11, wireless communication system 100 of FIG. 1 utilizes 8 simulcast pilot tones (4 positioned in frequency on each side of the time-keyed pilot tones), 9 time-keyed pilot tones, and 18 traffic tones positioned in between adjacent pilot tones. Also preferably, each frequency band has a bandwidth f_(band)=1 MHz and each tone has a 3125 Hz bandwidth (1 FFT tone bin width). The frequency gap f_(s) between adjacent pilot tones is 56.25 kHz (18 FFT tone bins) and the frequency gap f_(int) between adjacent frequency bands is 46.875 kHz (15 FFT tone bins). In addition, 18 traffic tones (18 FFT tone bins) are positioned in between adjacent pilot tones.

FIG. 3 is a block diagram of more specific electronic components 300 of receiver unit 104 of FIG. 1. Electronic components 300 are more directly related to the automatic gain control (AGC) which is the subject of the present invention, and may be part of those electronic components described in relation to FIG. 2. Electronic components 300 include an antenna 304, amplifier circuitry 302, an analog-to-digital (A/D) converter 306, a field programmable gate array (FPGA) 308, a modem application-specific integrated circuit (ASIC) 310, a digital signal processor (DSP) 312, switch circuitry 314, and a signal converter 316. Although other suitable processors and connections may be utilized, FPGA 308 and DSP 312 are one or more processors 326 of receiver unit 104. FPGA 308, which may be any suitable high-speed processor, includes processor instructions to execute a parallel-to-serial converter process 318 and a boundary check process 320 for the AGC.

Antenna 304 is coupled to an input of amplifier circuitry 302, which has an output coupled to an input of A/D converter 306. An output of A/D converter 306 is coupled to an input of FPGA 308, where time domain samples at the output of A/D converter 306 are fed into parallel-to-serial converter process 318 and into boundary check process 320. An output of parallel-to-serial converter process 318 is fed into an input of modem ASIC 310, which has an output which is coupled to an input of DSP 312. An output of boundary check process 320 is coupled to a first input to switch circuitry 314, and an output of DSP 312 is coupled to a second input to switch circuitry 314. An output of switch circuitry 314 is coupled to an input to signal converter 316, which has an output coupled to a gain control input of amplifier circuitry 302.

Antenna 304 receives RF OFDM communication signals which are amplified by amplifier circuitry 302 at a gain determined by a gain control signal provided at the output of signal converter 316. Although amplifier circuitry 302 and its gain control may utilize simple well-known circuits, it may alternatively utilize multi-stage amplification and control as shown with amplifier components 500 of FIG. 5. As shown in FIG. 5, RF OFDM signals pass through multiple bandpass filters, multiple amplifiers and attenuators, and multiple mixers with local oscillator (LO) signals. The multi-bit gain control signal, shown in FIG. 5 as having six bits (B0, B1, B2, B3, B4, and B5), controls the selection and/or insertion of amplifiers and attenuators within the signal path.

Referring back to FIG. 3, the amplified signals from amplifier circuitry 302 are sampled and quantized at A/D converter 306. Thus, a plurality of time domain samples are provided at the output of A/D converter 306 and fed into FPGA 308. In this embodiment, the sampling frequency is 3.2 Mhz and the time domain samples are 16-QAM OFDM signals which are real values. The amplified signals at the input of A/D converter 306 may, however, vary greatly in amplitude and be “clipped” by A/D converter 306. A graph 400 in FIG. 4 shows the response of A/D converter 306, where an analog input signal to A/D converter 306 is shown along the X-axis and a digital output signal of A/D converter 306 is shown along the Y-axis. Output signals from A/D converter 306 are clipped when the analog input signal exceeds a voltage designated at a point 404 (+V_(max)), or exceeds a negative voltage designated at a point 406 (−V_(max)). On the other hand, output signals from A/D converter 306 may have large quantization errors if the signals are too small, as designated by points 408 (+V_(min)) and 410 (−V_(min)) in FIG. 4.

Referring again back to FIG. 3, the plurality of time domain samples from A/D circuitry 306 are received at FPGA 308 and operated upon by boundary check process 320 and parallel-to-serial converter process 318. Boundary check process 320 is operative to determine if multiple time sample values associated with multiple time samples are outside a limit set by a predefined threshold and, if so, establish a control signal at an output 322 to appropriately adjust the gain of amplifier circuitry 302. Each time sample value may be calculated based on, for example, the absolute value or magnitude of a time sample, or the square or power of a time sample. In a more general sense, boundary check process 320 is operative to determine whether signals from A/D converter 306 are clipped and, if so, provide the appropriate gain adjustment signals. This operation occurs repeatedly for new sets of time domain samples, e.g., for a burst of time domain samples received once every 48 milliseconds. This first part of the overall AGC process will be described in more detail below in relation to FIG. 6.

Parallel-to-serial converter process 318 is operative to receive the incoming parallel time domain samples from A/D converter 306 and provide them in a serial fashion to modem ASIC 310 for further processing. Modem ASIC 310, which may be referred to as a Fast Fourier Transform (FFT) ASIC or process, converts the samples from the time domain to the frequency domain as is well-known in the art. DSP 312 processes the frequency domain signals for the receipt of voice and data for the receiver unit, as well as for control purposes including AGC. In general, DSP 312 is operative to determine whether a power of multiple frequency signal values associated with a set of pilot tone signals is outside a limit set by a predefined threshold and, if so, establish a control signal at an output 324 to appropriately adjust the gain of amplifier circuitry 302. This operation occurs repeatedly for new sets of pilot tones, for example, for a set of time-keyed pilot tones received once every 480 milliseconds. This second part of the overall AGC process will be described in more detail below in relation to FIG. 7.

Thus, a first AGC process (primarily performed in FPGA 308) is repeatedly executed every 48 milliseconds and a second AGC process (primarily performed in DSP 312) is repeatedly executed every 480 milliseconds. This timing is illustrated in FIG. 12. In a broader sense, the first AGC process is repeatedly performed at a first rate and the second AGC process is repeatedly performed at a second rate that is less than the first rate. New results are determined by the first and second AGC processes within or after each processing interval.

Referring back to FIG. 3, the control signals at outputs 322 and 324 are fed into switch circuitry 314, which controls the selection or application of the control signals to amplifier circuitry 302 through signal converter 316. Each one of the control signals at outputs 322 and 324 may indicate one of three different gain adjustments: (1) decrease gain; (2) increase gain; or (3) hold/maintain the previously set gain. (The increase gain signal and related processing for output 322 is optional.) As described above, the control signal at output 322 is generated at a first rate while the control signal at output 324 is generated at a second rate that is less than the first rate. A clock signal is applied at switch circuitry 314 to control the selection of one of outputs 322 and 324 and the application or latching of the selected control signal to signal converter 316. Switch circuitry 314 applies the control signal at output 322 to signal converter 316 once every expiration of time X and applies the control signal at output 324 to signal converter 316 once every expiration of time Y>X. As described above, the control signal at output 322 is generated every 48 milliseconds and the control signal at output 324 is generated every 480 milliseconds. Therefore, switch circuitry 314 selects output 322 every 48 milliseconds and selects output 324 every 480 milliseconds for application to signal converter 316. Since the number 48 divides into the number 480 without any remainder, switch circuitry 314 selects output 322 as a higher priority if the control signal at output 322 indicates a gain adjustment.

As described above, the amplifier gain control may be designed so that the amplifier circuitry can be set at one of a number of different predefined settings (e.g., see FIG. 5). The control signals provided at outputs 322 and 324, however, merely request what change in amplifier gain should be made. Therefore, signal converter 316 is provided to select one of the amplifier gain settings (e.g., one of the 64 amplifier gain settings from the 6-bit control in FIG. 5) based on the previously set amplifier gain and the requested change in gain from output 322 or 324. For example, if the gain was previously set to 4 dB, and a request is made to increase the gain by 2 dB, signal converter 316 selects a 6 dB amplifier gain setting (e.g., sets B0 and B1 in FIG. 5). As one skilled in the art will understand, the described signal conversion may be necessary only for more involved amplifier circuitry and gain control designs.

FIG. 6 is a flowchart describing a method for use in providing AGC in a receiver unit, which is the method that boundary check process 320 of FIG. 3 may execute. Beginning at a start block 600, a plurality of time domain samples is received over a predetermined period of time (step 602) and a plurality of time sample values is generated therefrom. The time sample values may be obtained by, for example, taking the absolute values or magnitudes of the time domain samples, or calculating the squares or powers of the time domain samples. In any case, an indication of the signal level or power of multiple time domain samples is determined (step 604). The calculations may be based on the root-mean-square (RMS) of the time domain samples, the RMS in this context being the square root of the sum of the squares of the magnitudes of the time domain samples divided by the total number of samples.

If it is determined that the signal level over the predetermined period of time is greater than a predefined maximum threshold at step 606 (e.g., the threshold associated with point 404 in FIG. 4), then a control signal is provided that decreases a gain of the amplifier circuitry (step 608). If it is determined that the signal level is less than a predefined minimum threshold at step 610 (e.g., the threshold associated with point 408 in FIG. 4), then a control signal is provided that increases a gain of the amplifier circuitry (step 612). If the signal level is within the predefined maximum and minimum thresholds, then a control signal is provided that holds or maintains a previously set gain of the amplifier circuitry (step 614). The flowchart repeats continually starting at step 602 for the next plurality of time domain samples.

In the embodiment described, the gain adjustment in the increase and decrease in steps 608 and 612 of FIG. 6 is of the same magnitude (“A”), preferably at +/−2 dB. Also, there are 1024 time domain samples (a single time burst) utilized in each pass through the flowchart of FIG. 6, and each pass through occurs once every 48 milliseconds. However, a larger or smaller number of samples may be utilized and are not limited to boundaries of any time burst, slot, or frame.

A more particular way of performing a portion of method of FIG. 6 (as it relates to determining if the signals are clipped) will now be described. The following steps are performed for each sample of the plurality of time domain samples (e.g., each one of 1024 samples). First, a time sample value is determined from the time domain sample. The time sample value may be, for example, the absolute value or the square of the time domain sample (or a value proportional thereto). Next, the time sample value is compared to a predefined upper threshold. If the time sample value exceeds the predefined upper threshold, then an upper limit counter is incremented. If the upper limit counter exceeds a predefined upper limit counter threshold (where the threshold is based on, e.g., some number or percentage, such as 5% of the samples), then it is determined that the signals are clipped and the gain is decreased. If the upper limit counter never exceeds the predefined upper limit counter for the plurality of time samples, then the previously set gain is held. The upper limit counter is cleared for each plurality of time domain samples (e.g., every 1024 samples).

An even more particular way of performing the method of FIG. 6 (as it further relates to determining if large quantization errors may exist) will now be described. The signal value previously generated is also compared to a predefined lower threshold. Here, if the signal value is less than the predefined lower threshold, then a lower limit counter is incremented. If the lower limit counter exceeds a predefined lower limit counter threshold (where the threshold is based on, e.g., some number or percentage, such as 5% of the samples), then it is determined that the signals from A/D circuitry may have large quantization errors and the gain is increased. If the upper and lower limit counters never exceed their respective thresholds, then the previously set gain is held. The lower limit counter is cleared for each plurality of time domain samples (e.g., every 1024 samples). To achieve the same results in these methods, a counter may be initially set to some non-zero value (e.g., set to the predefined counter threshold), decremented when a signal value is outside the predefined threshold, and compared with some threshold (e.g., zero) to determine whether gain adjustment should be made.

FIG. 7 is a flowchart describing a method for use in providing AGC in a receiver unit, which is the method that modem ASIC 310 and DSP 312 may execute. Beginning at a start block 700, a plurality of time domain samples of a time slot (having, e.g., 1024 time samples) are converted from the time domain to the frequency domain (step 702). Particular ones of the frequency sample values are selected (step 704), namely, the frequency sample values corresponding to a plurality of pilot tone signals. Preferably, these pilot tone signals are a set of time-keyed pilot tones transmitted by a particular base unit and intended for receipt by the receiver unit (see FIGS. 10 and 11). For example, the selected time-keyed pilot tones may correspond to only those broadcast by base unit 1004 (“Base 0”) of FIG. 10. As shown in the preferred embodiment of FIG. 11, there are 9 time-keyed pilot tones per time slot.

According to one embodiment, the signal level of these frequency domain samples is determined (step 706) after the appropriate tones are selected in step 704 of FIG. 7. Thereafter, steps 702-706 are repeated for each slot of multiple consecutive time slots, where the signal level is averaged. For example, steps 702-706 may be executed for each one of 32 time slots, for total processing of 288 pilot tones (9 time-keyed pilot tones per time slot×8 time slots per time frame×4 time frames=288 pilot tones). According to another embodiment, however, after the appropriate tones are selected in step 704 of FIG. 7, steps 702-704 are repeated for each one of multiple consecutive time slots, and the signal level is determined based on an average of all of the accumulated pilot tone values. Preferably, for the above-described processes, calculations based on a root mean square (RMS) of the pilot tones are performed.

Next, an error “e” is calculated by subtracting a reference signal level from the signal level (step 708). Preferably, the error is averaged over a time period or some number of 480 millisecond cycles (step 710). For example, the averaged error may be an exponential average based on the equation

e _(avg)(k)=αe _(avg)(k−1)+(1−α) e(k)

where α is a forgetting factor (with a value of, e.g., 0.7) and k is a reference to a set of pilot tones (e.g., k being the current set of pilot tones, and k−1 being the previous set of pilot tones).

If it is determined that the averaged error is greater than a predefined maximum threshold (step 712), then a control signal is provided that decreases a gain of the amplifier circuitry (step 714). If it is determined that the averaged error is less than a predefined minimum threshold (step 716), then a control signal is provided that increases a gain of the amplifier circuitry (step 718). If the averaged error is within the predefined maximum and minimum thresholds, then a control signal is provided that holds or maintains a previously set gain of the amplifier circuitry (step 720). In the embodiment described, the gain adjustment in the increase and decrease in steps 714 and 718 is of the same magnitude (“B”), preferably at +/−1 dB. The flowchart repeats again starting at step 702 for a next set of pilot tones (e.g., the next set of time-keyed pilot tones).

Preferably, a separate dual-loop AGC as described in relation to FIGS. 3-12 is utilized for each receiver branch shown in FIG. 2. Thus, two dual-loop AGCs are employed within each receiver unit. With this configuration, the amplifier gain may be controlled by the decision of only one of the AGCs, namely, a selected AGC having the better signal quality. Here, the better signal quality may be determined based on comparing received signal strength indicators (RSSI). More particularly, the signal quality for each branch may be determined based on pilot tone signal processing described in relation to FIG. 7, where the signal qualities of each branch are compared and the AGC associated with the branch having the better signal quality is the one selected for controlling the amplifier gain.

Thus, several automatic gain control (AGC) methods for use in an OFDM receiver have been described. One AGC method includes the steps of repeatedly performing a first AGC process which adjusts amplifier gain based on determining that a signal level of multiple time sample values is outside a limit set by a first predefined threshold; and repeatedly performing a second AGC process which adjusts the amplifier gain based on determining that a signal level of multiple frequency sample values associated with a plurality of pilot tones is outside a limit set by a second predefined threshold. Here, the first AGC process may be executed repeatedly at a first rate and the second AGC process may be executed repeatedly at a second rate that is less than the first rate.

Another method involves the steps of receiving radio frequency (RF) OFDM signals; amplifying the RF OFDM signals with amplifier circuitry; sampling the amplified RF OFDM signals with analog-to-digital (A/D) circuitry to generate a plurality of time domain samples; determining, with one or more processors, if the amplified RF OFDM signals are being clipped by the A/D circuitry based on a signal level of multiple time domain samples and a predefined threshold; and adjusting a gain of the amplifier circuitry if it is determined that the amplified RF OFDM signals are being clipped. This method may be performed in connection with AGC circuitry comprising amplifier circuitry to amplify radio frequency (RF) OFDM signals; A/D circuitry coupled to receive amplified RF OFDM signals from said amplifier circuitry; one or more processors coupled to receive a plurality of time domain samples of the amplified RF OFDM signals from said A/D circuitry, to determine whether the amplified RF OFDM signals are being clipped by the A/D circuitry based on a signal level of multiple time domain samples and a predefined threshold, and to produce a gain control signal for adjusting a gain of said amplifier circuitry if it is determined that the amplified RF OFDM signals are being clipped.

Finally, a wireless OFDM receiver having an automatic gain control (AGC) may include amplifier circuitry to amplify incoming radio frequency (RF) OFDM signals; A/D circuitry coupled to receive the amplified RF OFDM signals from said amplifier circuitry; one or more processors coupled to receive a plurality of time domain samples of the amplified RF OFDM signals from said A/D circuitry and operative to convert the plurality of time domain samples to a plurality of frequency domain signals. The one or more processors are further operative to repeatedly perform a first AGC process comprising the steps of: generating a time sample value for each one of multiple time domain samples; determining whether the amplified RF OFDM signals are being clipped based on a signal level of the multiple time sample values and a first predefined threshold; and producing a gain control signal for adjusting a gain of said amplifier circuitry if it is determined that the amplified RF OFDM signals are being clipped. The one or more processors are further operative to repeatedly perform a second AGC process comprising the steps of: determining a signal level of the plurality of frequency domain signals; determining if channel fading has occurred based on the signal level of the plurality of frequency domain signals and a second predefined threshold; and adjusting a gain of the amplifier circuitry if it is determined that the channel fading has occurred. Related description regarding the theory, operation, simulation results of the AGC are provided in the provisional application by H. Zhang, entitled, “Method For Automatic Gain Control In A Personal Wireless Access Network,” U. S. Ser. No. 60/140,622, filed Jun. 23, 1999, which is hereby incorporated by reference herein. It should be readily apparent and understood that the foregoing description is only illustrative of the invention and in particular provides preferred embodiments thereof. For example, the AGC described may be employed in a base unit as well as the receiver units. Various alternatives and modifications can be devised by those skilled in the art without departing from the true spirit and scope of the invention. Accordingly, the present invention is intended to embrace all such alternatives, modifications, and variations which fall within the scope of the appended claims. 

What is claimed is:
 1. An automatic gain control (AGC) circuit for an orthogonal frequency division multiplexing (OFDM) receiver, the AGC circuit comprising; an amplifier for amplifying radio frequency (RF) OFDM signals to produce amplified RF OFDM signals; an analog-to-digital (A/D) circuit for generating a plurality of time domain samples of the amplified RF OFDM signals; and at least one processor connected to the A/D circuit and the amplifier, the at least one processor for adjusting a gain of the amplifier in accordance with a relationship between a threshold and a time sample signal level of the plurality of time domain samples, the at least one processor for adjusting the gain of the amplifier in accordance with another relationship between another threshold and a frequency sample signal level of frequency sample values associated with a plurality of pilot tones of the RF OFDM signals.
 2. An AGC circuit in accordance with claim 1, the at least one processor for adjusting the gain of the amplifier in accordance with the relationship between the threshold and the time sample signal level at a first rats and for adjusting the gain of the amplifier in accordance with the relationship between the another threshold and the frequency sample signal level at a second rate.
 3. An AGC circuit in accordance with claim 2, wherein the first rate is greater that the second rate.
 4. An AGC circuit in accordance with claim 1, the at least one processor for adjusting the gain of the amplifier in accordance with the relationship between the threshold and the time sample signal level by calculating the time sample signal value and reducing the gain of the amplifier if the time sample signal value exceeds the threshold value.
 5. An AGC circuit in accordance with claim 4, wherein the time sample signal value is a root mean square value of the amplified RF OFDM signals.
 6. An AGC circuit accordance with claim 1, the at least one processor for adjusting the gain of the amplifier in accordance with the another relationship between the another threshold and the frequency sample signal level of the frequency sample values by converting the time sample values to the frequency sample values, determining the frequency sample signal level, calculating a level of channel fading based on the frequency sample signal level and the another threshold and adjusting the gain of the amplifier in accordance with the level of channel fading.
 7. An AGC circuit in accordance with claim 6, wherein the at least one processor determines the level of clipping by: determining a magnitude of each time domain sample to generate a plurality of time sample values; averaging the plurality of time sample values to determine the time sample signal level; and comparing the time sample signal level to the threshold.
 8. An AGC circuit in accordance with claim 6, wherein the at least one processor determines the level of clipping by: determining a magnitude of each time domain sample to generate a plurality of time sample values; comparing each of the plurality of time sample values to the threshold.
 9. An AGC circuit in accordance with claim 6, wherein the at least one processor determines the level of clipping by: generating a time sample value from each lime domain sample; incrementing a counter if the time sample value exceeds the threshold; determining that: the amplified RF OFDM signals are clipped if the counter exceeds a limit within a time period.
 10. An AGC circuit in accordance with claim 6, the at least one processor for producing a control signal to adjust the gain of the amplifier in accordance with the relationship between the threshold and the time sample signal level and for producing another control signal to adjust the gain of the amplifier in accordance with the another relationship between the another threshold and the frequency sample signal level.
 11. An AGC circuit in accordance with claim 10, further comprising a switch connected between the at least one processor and the amplifier, the switch for directing the control signal and the another control signal to the amplifier in accordance with a dock signal.
 12. An AGC circuit In Accordance with claim 2, wherein the at least one processor comprises a boundary check processor for determining the time sample signal level.
 13. An AGC circuit in accordance with claim 12, wherein the boundary check processor is a field programmable device.
 14. An AGC circuit in accordance with claim 13, wherein the boundary field programmable device is a field programmable gate array.
 15. An automatic gain control (AGC) circuit for an orthogonal frequency division multiplexing (OFDM) receiver, the AGC circuit comprising: an amplifier for amplifying radio frequency (RF) OFDM signals to produce amplified RF OFDM signals; an analog-to-digital (A/D) circuit for generating a plurality of time domain samples of the amplified RF OFDM signals; a boundary check processor for determining a level of signal clipping of the amplified RF OFDM signals based on a time sample signal level of the plurality of time domain samples and providing a control signal in accordance with the level of clipping; a transform processor for converting the time domain samples to multiple frequency domain samples; a digital signal processor (DSP) for determining a power level of the multiple frequency domain samples and providing another control signal in accordance with a relationship between the power level and another threshold; and a switch for directing the control signal and the another control signal to the amplifier in accordance with a clock signal.
 16. An automatic gain circuit in accordance with claim 15, further comprising: a parallel-to-serial converter for receiving the time domain samples in parallel and serially providing the time domain sample to the transform processor.
 17. An AGC circuit in accordance with claim 16, wherein the boundary check processor is a field programmable device.
 18. An AGC circuit in accordance with claim 17, wherein the boundary field programmable device is a field programmable gate array.
 19. An AGC circuit in accordance with claim 18, wherein the transform processor is a Fast Fourier Transform (FFT) processor.
 20. An AGC circuit in accordance with claim 18, wherein the transform processor is an application specific integrated circuit (ASIC).
 21. An AGC circuit In accordance with claim 18, wherein the boundary check processor determines the level of signal clipping at first rate and the determines the power level at a second rate.
 22. An AGC circuit in accordance with claim 21, wherein the first rate is greater than the second rate.
 23. A remote unit for wireless communication with a base station using orthogonal frequency division multiplexing (OFDM) signals, the remote unit comprising: an amplifier for amplifying received radio frequency (RF) OFDM signals to produce amplified RF OFDM signals; an analog-to-digital (A/D) circuit for generating a plurality of time domain samples of the amplified RF OFDM signals; and at least one processor connected to the A/D circuit and the amplifier, the at least one processor for adjusting a gain of the amplifier in accordance with a relationship between a threshold and a time sample signal level of the plurality of time domain samples, the at least one processor for adjusting the gain of the amplifier in accordance with another relationship between another threshold and a frequency sample signal level of frequency sample values associated with a plurality of pilot tones of the RF OFDM signals.
 24. A remote unit in accordance with claim 23, the at least one processor for adjusting the gain of the amplifier in accordance with the relationship between the threshold and the time sample signal level at a first rate and for adjusting the gain of the amplifier in accordance with the relationship between the another threshold and the frequency sample signal level at a second rate.
 25. A remote unit in accordance with claim 24, wherein the first rate is greater that the second rate.
 26. A remote unit in accordance with claim 23, the at least one processor for adjusting the gain of the amplifier in accordance with the relationship between the threshold and the time sample signal level by calculating the time sample signal value and reducing the gain of the amplifier if the time sample signal value exceeds the threshold value.
 27. A remote unit in accordance with claim 26, wherein the time sample signal value is root mean square value of the amplified RF OFDM signals.
 28. A remote unit in accordance with claim 23, the at least one processor for adjusting the gain of the amplifier in accordance with the another relationship between the another threshold and the frequency sample signal level of the frequency sample values by converting the time sample values to the frequency sample values, determining the frequency sample signal level, calculating a level of channel fading based on the frequency sample signal level and a threshold and adjusting the gain of the amplifier in accordance with the level of channel fading.
 29. A remote unit in accordance with claim 28, wherein the at least one processor determines the level of clipping by: determining a magnitude of each time domain sample to generate a plurality of time sample values; comparing each of the plurality of time sample values to the threshold.
 30. A remote unit in accordance with claim 28, wherein the at least one processor determines the level of clipping by; generating a time sample value from each time domain sample; incrementing a counter if the time sample value exceeds the threshold; determining that the amplified RF OFDM signals are dipped if the counter exceeds a limit within a time period.
 31. A remote unit in accordance with claim 23, wherein the at least one processor comprises a boundary check processor for determining the time sample signal level.
 32. A remote unit in accordance with claim 31, wherein the boundary check processor is a field programmable device.
 33. A remote unit in accordance with claim 32, wherein the boundary field programmable device is a field programmable gate array.
 34. A remote unit in accordance with claim 32, wherein the at least one processor determines the level of clipping by: determining a magnitude of each time domain sample to generate a plurality of time sample values; averaging the plurality of time sample values to determine the time sample signal level; and comparing the time sample signal level to the threshold.
 35. A remote unit for wireless communication with a base station using orthogonal frequency division multiplexing (OFDM) signals, the remote unit comprising: an amplifier for amplifying radio frequency (RF) OFDM signals to produce amplified RF OFDM signals; an analog-to-digital (A/D) circuit for generating a plurality of time domain samples of the amplified RF OFDM signals; a boundary check processor for determining a level of signal clipping of the amplified RF OFDM signals based on a time sample signal level of the plurality of time domain samples and providing a control signal in accordance with the level of clipping; a transform processor for converting the time domain samples to multiple frequency domain samples; a digital signal processor (DSP) for determining a power level of the multiple frequency domain samples and providing another control signal in accordance with a relationship between the power level and another threshold; and a switch for directing the control signal and the another control signal to the amplifier in accordance with a clock signal.
 36. A remote unit in accordance with claim 35, wherein the transform processor is a Fast Fourier Transform (FFT) processor.
 37. A remote unit in accordance with claim 35, further comprising: a parallel-to-serial converter for receiving the time domain samples in parallel and serially providing the time domain samples to the transform processor.
 38. A remote unit in accordance with claim 37, wherein the boundary check processor is a field programmable device.
 39. A remote unit in accordance with claim 38, wherein the boundary field programmable device is a field programmable gate array.
 40. A remote unit in accordance with claim 39, wherein the transform processor is an application specific integrated circuit (ASIC).
 41. A remote unit in accordance with claim 39, wherein the boundary check processor determines the level of signal clipping at first rate and the determines the power level at a second rate. 